package com.newspublish.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newspublish.system.entity.system.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    //删除分类
    int deleteByPrimaryKey(@Param("id")List<Long> id);

}
